package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.UacGroupLanguage;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2020-01-03 21:17
 * @Description:
 */
public interface UacGroupLanguageService extends IService<UacGroupLanguage> {

    /**
     * 根据机构获取语言
     *
     * @param groupId   the group id
     *
     * @return  the group language
     */
    String getLanguageByGroupId(Long groupId);

    /**
     * 保存机构语言配置
     *
     * @param uacGroupLanguage
     *
     * @return
     */
    Integer saveLanguage(UacGroupLanguage uacGroupLanguage);
}
